# -*- coding: utf-8 -*-
"""
Created on Sat Jul 27 10:16:26 2019

@author: user
"""

import pandas_datareader.data as web
#import datetime
start = '2013/04/01'
end = '2019/08/14'
f = web.DataReader('SPY', 'stooq')
s = f[end: start]
b = s.sort_index()
b.to_csv('E:\\MyProjects\\Python-for-Finance\\benchmark201304-201908.csv')
